package cn.lanqiao.book.pojo;

import java.util.Date;

public class Book {
    private int b_id;
    private String b_name;
    private String b_author;
    private String b_description;
    private int b_state;
    private String  b_image;
    private Date b_last_update_time;
    private int b_count;
    private int b_last_update_page_id;
    private int c_id;
    private int b_like_count;

    public Book(int b_id, String b_name, String b_author, String b_description, int b_state, String b_image, Date b_last_update_time, int b_count, int b_last_update_page_id, int c_id, int b_like_count) {
        this.b_id = b_id;
        this.b_name = b_name;
        this.b_author = b_author;
        this.b_description = b_description;
        this.b_state = b_state;
        this.b_image = b_image;
        this.b_last_update_time = b_last_update_time;
        this.b_count = b_count;
        this.b_last_update_page_id = b_last_update_page_id;
        this.c_id = c_id;
        this.b_like_count = b_like_count;
    }

    public Book() {
    }

    @Override
    public String toString() {
        return "Book{" +
                "b_id=" + b_id +
                ", b_name='" + b_name + '\'' +
                ", b_author='" + b_author + '\'' +
                ", b_description='" + b_description + '\'' +
                ", b_state=" + b_state +
                ", b_image='" + b_image + '\'' +
                ", b_last_update_time=" + b_last_update_time +
                ", b_count=" + b_count +
                ", b_last_update_page_id=" + b_last_update_page_id +
                ", c_id=" + c_id +
                ", b_like_count=" + b_like_count +
                '}';
    }

    public int getB_id() {
        return b_id;
    }

    public void setB_id(int b_id) {
        this.b_id = b_id;
    }

    public String getB_name() {
        return b_name;
    }

    public void setB_name(String b_name) {
        this.b_name = b_name;
    }

    public String getB_author() {
        return b_author;
    }

    public void setB_author(String b_author) {
        this.b_author = b_author;
    }

    public String getB_description() {
        return b_description;
    }

    public void setB_description(String b_description) {
        this.b_description = b_description;
    }

    public int getB_state() {
        return b_state;
    }

    public void setB_state(int b_state) {
        this.b_state = b_state;
    }

    public String getB_image() {
        return b_image;
    }

    public void setB_image(String b_image) {
        this.b_image = b_image;
    }

    public Date getB_last_update_time() {
        return b_last_update_time;
    }

    public void setB_last_update_time(Date b_last_update_time) {
        this.b_last_update_time = b_last_update_time;
    }

    public int getB_count() {
        return b_count;
    }

    public void setB_count(int b_count) {
        this.b_count = b_count;
    }

    public int getB_last_update_page_id() {
        return b_last_update_page_id;
    }

    public void setB_last_update_page_id(int b_last_update_page_id) {
        this.b_last_update_page_id = b_last_update_page_id;
    }

    public int getC_id() {
        return c_id;
    }

    public void setC_id(int c_id) {
        this.c_id = c_id;
    }

    public int getB_like_count() {
        return b_like_count;
    }

    public void setB_like_count(int b_like_count) {
        this.b_like_count = b_like_count;
    }
}
